<script>
  $(function() {
    $(".rslides").responsiveSlides();
  });
</script>
<div class="page home">
    <div class="span15 slideshow">
      <ul class="rslides">
        <li><img src="<?php echo base_url(); ?>assets/img/images-1.jpg" /></li>
        <li><img src="<?php echo base_url(); ?>assets/img/images-2.jpg" /></li>
        <li><img src="<?php echo base_url(); ?>assets/img/images-3.jpg" /></li>
      </ul>
    </div>
      
      
      <div class="quick-search">
        <form class="disana" action="<?php echo site_url('search/cari/') ?>" method="GET">
          <div class="disini span6">
            <div class="span6 offset2"><h3>Quick Search</h3></div>

            <div class="row">
              <div class="span2">
                <img src="<?php echo base_url();?>assets/img/logo.png"/>
              </div>
              <div class="span4">
                <div class="row jual-beli">
                  <div class="span2">     
                    <label class="radio">
                        <input type="radio" name="mode" id="optionsRadios1" value="1" data-toggle="radio" checked="">
                        Jual
                    </label>
                  </div>
                  <div class="span2">
                    <label class="radio">
                        <input type="radio" name="mode" id="optionsRadios2" value="2" data-toggle="radio">
                        Sewa
                    </label>
                  </div>
                </div>
                <div class="span4">
                  <input type="text" name="search" value="" placeholder="Search..." class="span4" />
                </div>
              </div>
            </div>
            <div class="row email-submit">
                <div class="span2">
                    <a href="#myModal" data-toggle="modal" class="btn btn-large btn-block btn-primary">E-mail Alert</a>
                </div>
                <div class="span2">
                    <input type="submit" value="SUBMIT" class="btn btn-large btn-block btn-primary submitsearch" />
                </div>
            </div>
            <div class="span2 pull-right linkdetailpencarian"><a href="<?php echo site_url('search/cari?mode=1') ?>">Detail Pencarian</a></div>
          </div>
        </form>
        <!-- Modal -->
        <div id="myModal" class="span5 modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
                <h4 id="myModalLabel">Masukkan alamat e-mail Anda</h4>
            </div>
            <div class="modal-body">
              <form action="" id="input-form" class="form-horizontal">
                <div class="control-group">
                  <label class="control-label" for="name">Nama Anda*</label>
                  <div class="controls">
                    <input type="text" class="input-xlarge" name="name" id="name">
                  </div>
                </div>
                <div class="control-group">
                  <label class="control-label" for="name">Alamat E-mail*</label>
                  <div class="controls">
                    <input type="text" class="input-xlarge" name="email" id="email">
                  </div>
                </div>

                <div class="form-actions">
                  <button type="submit" class="btn btn-primary btn-large">Submit</button>
                </div>
              </form>
            </div>
        </div>
    </div>
    </div>